package com.itheima.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Data//创建组件
@Component//创建组件
@ConfigurationProperties(prefix = "aliyun.oss")//绑定配置文件
public class AliOSSProperties {
    private String endpoint;
    private String bucketName;
}
